package com.java.util.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class BaseCollumModel {

//  @Builder.Default
//  private LocalDateTime createdAt = LocalDateTime.now();

  @Builder.Default
  private LocalDateTime updatedAt = LocalDateTime.now();

  private Long createdByUserId;

  private Long updatedByUserId;

  @Builder.Default
  private Boolean status = Boolean.TRUE;

  @Builder.Default
  private Integer version = 0;
}
